package com.newx.common.core.enums.business;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 合约交易来源类型
 *
 * @author AI Assistant
 */
@Getter
@AllArgsConstructor
public enum ContractTradeSourceEnum {
    /**
     * 交易
     */
    TRADE(1, "交易"),

    /**
     * 资金费用
     */
    CAPITAL_FEE(2, "资金费用"),

    /**
     * 强制平仓
     */
    CLOSE_STOP(3, "强制平仓"),
    /**
     * 止盈止损
     */
    PROFIT_AND_LOSS(4, "止盈止损");

    private final Integer code;
    private final String info;
}
